package com.example.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 系统配置表(SysConfig)实体类
 *
 * @author china.fuyao@outlook.com
 * @since 2020-03-30 14:02:12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Config extends Model<Config> {
    
    @TableId(value = "config_id", type = IdType.AUTO)
    private Integer configId;
    private String configKey;

    private String configValue;

    private String ds;

    private Integer type;

    private Integer pri;

    /**
     * 添加时间
     */
    private LocalDateTime addTime;
    /**
     * 添加用户id
     */
    private Integer addUid;
    /**
     * 修改时间
     */
    private LocalDateTime updateTime;
    /**
     * 修改用户id
     */
    private Integer updateUid;
}